package hr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 员工调动记录表
 * </p>
 *
 * @author zzh
 * @since 2023-12-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "EmployeeMovement对象", description = "员工调动记录表")
public class EmployeeMovement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("调动记录ID")
    @TableId(value = "movement_id", type = IdType.AUTO)
    private Long movementId;

    @ApiModelProperty("员工ID")
    private Long employeeId;

    @ApiModelProperty("原部门ID")
    private Long fromDepartmentId;

    @ApiModelProperty("目标部门ID")
    private Long toDepartmentId;

    @ApiModelProperty("原岗位ID")
    private Long fromPositionId;

    @ApiModelProperty("目标岗位ID")
    private Long toPositionId;

    @ApiModelProperty("调动日期")
    private Long movementDate;
}
